import "core-js";
import "regenerator-runtime/runtime";
import Vue from "vue";
import ElementUI from "element-ui";

import App from "./App.vue";
//引入路由
import router from "@/router";
//引入仓库
import store from "./store";

import "element-ui/lib/theme-chalk/index.css";

Vue.use(ElementUI);
Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  router,
  store,
}).$mount("#app");
